<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        /* 出现了权重叠加 */
        /*.bw a 权重 0,0,1,0  + 0,0,0,1  = 0,0,1,1 */
        .bw a{
            color: rgb(165, 1, 5);
        }

        /*.b1  权重 0,0,1,0*/
        .b1{
            color: black;
        }

        /*0,0,2,0*/
        .bw .b2{
            color:yellow;
        }
    </style>
</head>
<body>
    <div>权重叠加</div>
    <div class="bw">
        <a href="#" class="b1">111</a>
        <a href="#" class="b2">222</a>
        <a href="#">333</a>
        <a href="#">444</a>
    </div>
</body>
</html>